package com.example.boot.bean.bean1;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user")
public class User1 {
    //用户id
    @TableField(value = "ID")
    private int userID;
    //用户密码
    private String password;
    //用户头像
    @TableField(value = "avatarID")
    private int avatarID;
    //用户目标
    @TableField(value = "categoryName")
    private String categoryName;
    //用户昵称
    @TableField(value = "nickName")
    private String nickName;
    //用户生日（计算年龄）
    private Date birthday;
    //用户小目标
    private String department;
    //用户头像文件
    @TableField(value = "avatarFile")
    private String avatarFile;
    //用户年龄
    @TableField(exist = false)
    private int age;
}
